/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.ofbiz.eclipse.model.webapp.SiteConf.impl;

import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EDataType;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;

import org.eclipse.emf.ecore.impl.EFactoryImpl;

import org.eclipse.emf.ecore.plugin.EcorePlugin;

import org.ofbiz.eclipse.model.webapp.SiteConf.*;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model <b>Factory</b>.
 * <!-- end-user-doc -->
 * @generated
 */
public class SiteConfFactoryImpl extends EFactoryImpl implements SiteConfFactory {
	/**
	 * Creates the default factory implementation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static SiteConfFactory init() {
		try {
			SiteConfFactory theSiteConfFactory = (SiteConfFactory)EPackage.Registry.INSTANCE.getEFactory("platform:/resource/ofbiz/framework/webapp/dtd/site-conf.xsd"); 
			if (theSiteConfFactory != null) {
				return theSiteConfFactory;
			}
		}
		catch (Exception exception) {
			EcorePlugin.INSTANCE.log(exception);
		}
		return new SiteConfFactoryImpl();
	}

	/**
	 * Creates an instance of the factory.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public SiteConfFactoryImpl() {
		super();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public EObject create(EClass eClass) {
		switch (eClass.getClassifierID()) {
			case SiteConfPackage.AFTER_LOGIN_TYPE: return createAfterLoginType();
			case SiteConfPackage.BEFORE_LOGOUT_TYPE: return createBeforeLogoutType();
			case SiteConfPackage.DEFAULT_REQUEST_TYPE: return createDefaultRequestType();
			case SiteConfPackage.DOCUMENT_ROOT: return createDocumentRoot();
			case SiteConfPackage.EVENT_TYPE: return createEventType();
			case SiteConfPackage.FIRSTVISIT_TYPE: return createFirstvisitType();
			case SiteConfPackage.HANDLER_TYPE: return createHandlerType();
			case SiteConfPackage.INCLUDE_TYPE: return createIncludeType();
			case SiteConfPackage.POSTPROCESSOR_TYPE: return createPostprocessorType();
			case SiteConfPackage.PREPROCESSOR_TYPE: return createPreprocessorType();
			case SiteConfPackage.PROTECT_TYPE: return createProtectType();
			case SiteConfPackage.REDIRECT_PARAMETER_TYPE: return createRedirectParameterType();
			case SiteConfPackage.REQUEST_MAP_TYPE: return createRequestMapType();
			case SiteConfPackage.RESPONSE_TYPE: return createResponseType();
			case SiteConfPackage.SECURITY_TYPE: return createSecurityType();
			case SiteConfPackage.SITE_CONF_TYPE: return createSiteConfType();
			case SiteConfPackage.VIEW_MAP_TYPE: return createViewMapType();
			default:
				throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
		}
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Object createFromString(EDataType eDataType, String initialValue) {
		switch (eDataType.getClassifierID()) {
			case SiteConfPackage.AUTH_TYPE:
				return createAuthTypeFromString(eDataType, initialValue);
			case SiteConfPackage.CERT_TYPE:
				return createCertTypeFromString(eDataType, initialValue);
			case SiteConfPackage.DIRECT_REQUEST_TYPE:
				return createDirectRequestTypeFromString(eDataType, initialValue);
			case SiteConfPackage.EDIT_TYPE:
				return createEditTypeFromString(eDataType, initialValue);
			case SiteConfPackage.EXTERNAL_VIEW_TYPE:
				return createExternalViewTypeFromString(eDataType, initialValue);
			case SiteConfPackage.GLOBAL_TRANSACTION_TYPE:
				return createGlobalTransactionTypeFromString(eDataType, initialValue);
			case SiteConfPackage.HTTPS_TYPE:
				return createHttpsTypeFromString(eDataType, initialValue);
			case SiteConfPackage.NO_CACHE_TYPE:
				return createNoCacheTypeFromString(eDataType, initialValue);
			case SiteConfPackage.SAVE_CURRENT_VIEW_TYPE:
				return createSaveCurrentViewTypeFromString(eDataType, initialValue);
			case SiteConfPackage.SAVE_HOME_VIEW_TYPE:
				return createSaveHomeViewTypeFromString(eDataType, initialValue);
			case SiteConfPackage.SAVE_LAST_VIEW_TYPE:
				return createSaveLastViewTypeFromString(eDataType, initialValue);
			case SiteConfPackage.TRACK_SERVERHIT_TYPE:
				return createTrackServerhitTypeFromString(eDataType, initialValue);
			case SiteConfPackage.TRACK_VISIT_TYPE:
				return createTrackVisitTypeFromString(eDataType, initialValue);
			case SiteConfPackage.TYPE_TYPE:
				return createTypeTypeFromString(eDataType, initialValue);
			case SiteConfPackage.TYPE_TYPE1:
				return createTypeType1FromString(eDataType, initialValue);
			case SiteConfPackage.AUTH_TYPE_OBJECT:
				return createAuthTypeObjectFromString(eDataType, initialValue);
			case SiteConfPackage.CERT_TYPE_OBJECT:
				return createCertTypeObjectFromString(eDataType, initialValue);
			case SiteConfPackage.DIRECT_REQUEST_TYPE_OBJECT:
				return createDirectRequestTypeObjectFromString(eDataType, initialValue);
			case SiteConfPackage.EDIT_TYPE_OBJECT:
				return createEditTypeObjectFromString(eDataType, initialValue);
			case SiteConfPackage.EXTERNAL_VIEW_TYPE_OBJECT:
				return createExternalViewTypeObjectFromString(eDataType, initialValue);
			case SiteConfPackage.GLOBAL_TRANSACTION_TYPE_OBJECT:
				return createGlobalTransactionTypeObjectFromString(eDataType, initialValue);
			case SiteConfPackage.HTTPS_TYPE_OBJECT:
				return createHttpsTypeObjectFromString(eDataType, initialValue);
			case SiteConfPackage.NO_CACHE_TYPE_OBJECT:
				return createNoCacheTypeObjectFromString(eDataType, initialValue);
			case SiteConfPackage.SAVE_CURRENT_VIEW_TYPE_OBJECT:
				return createSaveCurrentViewTypeObjectFromString(eDataType, initialValue);
			case SiteConfPackage.SAVE_HOME_VIEW_TYPE_OBJECT:
				return createSaveHomeViewTypeObjectFromString(eDataType, initialValue);
			case SiteConfPackage.SAVE_LAST_VIEW_TYPE_OBJECT:
				return createSaveLastViewTypeObjectFromString(eDataType, initialValue);
			case SiteConfPackage.TRACK_SERVERHIT_TYPE_OBJECT:
				return createTrackServerhitTypeObjectFromString(eDataType, initialValue);
			case SiteConfPackage.TRACK_VISIT_TYPE_OBJECT:
				return createTrackVisitTypeObjectFromString(eDataType, initialValue);
			case SiteConfPackage.TYPE_TYPE_OBJECT:
				return createTypeTypeObjectFromString(eDataType, initialValue);
			case SiteConfPackage.TYPE_TYPE_OBJECT1:
				return createTypeTypeObject1FromString(eDataType, initialValue);
			default:
				throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
		}
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String convertToString(EDataType eDataType, Object instanceValue) {
		switch (eDataType.getClassifierID()) {
			case SiteConfPackage.AUTH_TYPE:
				return convertAuthTypeToString(eDataType, instanceValue);
			case SiteConfPackage.CERT_TYPE:
				return convertCertTypeToString(eDataType, instanceValue);
			case SiteConfPackage.DIRECT_REQUEST_TYPE:
				return convertDirectRequestTypeToString(eDataType, instanceValue);
			case SiteConfPackage.EDIT_TYPE:
				return convertEditTypeToString(eDataType, instanceValue);
			case SiteConfPackage.EXTERNAL_VIEW_TYPE:
				return convertExternalViewTypeToString(eDataType, instanceValue);
			case SiteConfPackage.GLOBAL_TRANSACTION_TYPE:
				return convertGlobalTransactionTypeToString(eDataType, instanceValue);
			case SiteConfPackage.HTTPS_TYPE:
				return convertHttpsTypeToString(eDataType, instanceValue);
			case SiteConfPackage.NO_CACHE_TYPE:
				return convertNoCacheTypeToString(eDataType, instanceValue);
			case SiteConfPackage.SAVE_CURRENT_VIEW_TYPE:
				return convertSaveCurrentViewTypeToString(eDataType, instanceValue);
			case SiteConfPackage.SAVE_HOME_VIEW_TYPE:
				return convertSaveHomeViewTypeToString(eDataType, instanceValue);
			case SiteConfPackage.SAVE_LAST_VIEW_TYPE:
				return convertSaveLastViewTypeToString(eDataType, instanceValue);
			case SiteConfPackage.TRACK_SERVERHIT_TYPE:
				return convertTrackServerhitTypeToString(eDataType, instanceValue);
			case SiteConfPackage.TRACK_VISIT_TYPE:
				return convertTrackVisitTypeToString(eDataType, instanceValue);
			case SiteConfPackage.TYPE_TYPE:
				return convertTypeTypeToString(eDataType, instanceValue);
			case SiteConfPackage.TYPE_TYPE1:
				return convertTypeType1ToString(eDataType, instanceValue);
			case SiteConfPackage.AUTH_TYPE_OBJECT:
				return convertAuthTypeObjectToString(eDataType, instanceValue);
			case SiteConfPackage.CERT_TYPE_OBJECT:
				return convertCertTypeObjectToString(eDataType, instanceValue);
			case SiteConfPackage.DIRECT_REQUEST_TYPE_OBJECT:
				return convertDirectRequestTypeObjectToString(eDataType, instanceValue);
			case SiteConfPackage.EDIT_TYPE_OBJECT:
				return convertEditTypeObjectToString(eDataType, instanceValue);
			case SiteConfPackage.EXTERNAL_VIEW_TYPE_OBJECT:
				return convertExternalViewTypeObjectToString(eDataType, instanceValue);
			case SiteConfPackage.GLOBAL_TRANSACTION_TYPE_OBJECT:
				return convertGlobalTransactionTypeObjectToString(eDataType, instanceValue);
			case SiteConfPackage.HTTPS_TYPE_OBJECT:
				return convertHttpsTypeObjectToString(eDataType, instanceValue);
			case SiteConfPackage.NO_CACHE_TYPE_OBJECT:
				return convertNoCacheTypeObjectToString(eDataType, instanceValue);
			case SiteConfPackage.SAVE_CURRENT_VIEW_TYPE_OBJECT:
				return convertSaveCurrentViewTypeObjectToString(eDataType, instanceValue);
			case SiteConfPackage.SAVE_HOME_VIEW_TYPE_OBJECT:
				return convertSaveHomeViewTypeObjectToString(eDataType, instanceValue);
			case SiteConfPackage.SAVE_LAST_VIEW_TYPE_OBJECT:
				return convertSaveLastViewTypeObjectToString(eDataType, instanceValue);
			case SiteConfPackage.TRACK_SERVERHIT_TYPE_OBJECT:
				return convertTrackServerhitTypeObjectToString(eDataType, instanceValue);
			case SiteConfPackage.TRACK_VISIT_TYPE_OBJECT:
				return convertTrackVisitTypeObjectToString(eDataType, instanceValue);
			case SiteConfPackage.TYPE_TYPE_OBJECT:
				return convertTypeTypeObjectToString(eDataType, instanceValue);
			case SiteConfPackage.TYPE_TYPE_OBJECT1:
				return convertTypeTypeObject1ToString(eDataType, instanceValue);
			default:
				throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
		}
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public AfterLoginType createAfterLoginType() {
		AfterLoginTypeImpl afterLoginType = new AfterLoginTypeImpl();
		return afterLoginType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public BeforeLogoutType createBeforeLogoutType() {
		BeforeLogoutTypeImpl beforeLogoutType = new BeforeLogoutTypeImpl();
		return beforeLogoutType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public DefaultRequestType createDefaultRequestType() {
		DefaultRequestTypeImpl defaultRequestType = new DefaultRequestTypeImpl();
		return defaultRequestType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public DocumentRoot createDocumentRoot() {
		DocumentRootImpl documentRoot = new DocumentRootImpl();
		return documentRoot;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EventType createEventType() {
		EventTypeImpl eventType = new EventTypeImpl();
		return eventType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public FirstvisitType createFirstvisitType() {
		FirstvisitTypeImpl firstvisitType = new FirstvisitTypeImpl();
		return firstvisitType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public HandlerType createHandlerType() {
		HandlerTypeImpl handlerType = new HandlerTypeImpl();
		return handlerType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public IncludeType createIncludeType() {
		IncludeTypeImpl includeType = new IncludeTypeImpl();
		return includeType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public PostprocessorType createPostprocessorType() {
		PostprocessorTypeImpl postprocessorType = new PostprocessorTypeImpl();
		return postprocessorType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public PreprocessorType createPreprocessorType() {
		PreprocessorTypeImpl preprocessorType = new PreprocessorTypeImpl();
		return preprocessorType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ProtectType createProtectType() {
		ProtectTypeImpl protectType = new ProtectTypeImpl();
		return protectType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public RedirectParameterType createRedirectParameterType() {
		RedirectParameterTypeImpl redirectParameterType = new RedirectParameterTypeImpl();
		return redirectParameterType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public RequestMapType createRequestMapType() {
		RequestMapTypeImpl requestMapType = new RequestMapTypeImpl();
		return requestMapType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ResponseType createResponseType() {
		ResponseTypeImpl responseType = new ResponseTypeImpl();
		return responseType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public SecurityType createSecurityType() {
		SecurityTypeImpl securityType = new SecurityTypeImpl();
		return securityType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public SiteConfType createSiteConfType() {
		SiteConfTypeImpl siteConfType = new SiteConfTypeImpl();
		return siteConfType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ViewMapType createViewMapType() {
		ViewMapTypeImpl viewMapType = new ViewMapTypeImpl();
		return viewMapType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public AuthType createAuthTypeFromString(EDataType eDataType, String initialValue) {
		AuthType result = AuthType.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertAuthTypeToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public CertType createCertTypeFromString(EDataType eDataType, String initialValue) {
		CertType result = CertType.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertCertTypeToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public DirectRequestType createDirectRequestTypeFromString(EDataType eDataType, String initialValue) {
		DirectRequestType result = DirectRequestType.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertDirectRequestTypeToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EditType createEditTypeFromString(EDataType eDataType, String initialValue) {
		EditType result = EditType.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertEditTypeToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ExternalViewType createExternalViewTypeFromString(EDataType eDataType, String initialValue) {
		ExternalViewType result = ExternalViewType.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertExternalViewTypeToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public GlobalTransactionType createGlobalTransactionTypeFromString(EDataType eDataType, String initialValue) {
		GlobalTransactionType result = GlobalTransactionType.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertGlobalTransactionTypeToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public HttpsType createHttpsTypeFromString(EDataType eDataType, String initialValue) {
		HttpsType result = HttpsType.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertHttpsTypeToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public NoCacheType createNoCacheTypeFromString(EDataType eDataType, String initialValue) {
		NoCacheType result = NoCacheType.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertNoCacheTypeToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public SaveCurrentViewType createSaveCurrentViewTypeFromString(EDataType eDataType, String initialValue) {
		SaveCurrentViewType result = SaveCurrentViewType.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertSaveCurrentViewTypeToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public SaveHomeViewType createSaveHomeViewTypeFromString(EDataType eDataType, String initialValue) {
		SaveHomeViewType result = SaveHomeViewType.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertSaveHomeViewTypeToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public SaveLastViewType createSaveLastViewTypeFromString(EDataType eDataType, String initialValue) {
		SaveLastViewType result = SaveLastViewType.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertSaveLastViewTypeToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public TrackServerhitType createTrackServerhitTypeFromString(EDataType eDataType, String initialValue) {
		TrackServerhitType result = TrackServerhitType.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertTrackServerhitTypeToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public TrackVisitType createTrackVisitTypeFromString(EDataType eDataType, String initialValue) {
		TrackVisitType result = TrackVisitType.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertTrackVisitTypeToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public TypeType createTypeTypeFromString(EDataType eDataType, String initialValue) {
		TypeType result = TypeType.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertTypeTypeToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public TypeType1 createTypeType1FromString(EDataType eDataType, String initialValue) {
		TypeType1 result = TypeType1.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertTypeType1ToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public AuthType createAuthTypeObjectFromString(EDataType eDataType, String initialValue) {
		return createAuthTypeFromString(SiteConfPackage.Literals.AUTH_TYPE, initialValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertAuthTypeObjectToString(EDataType eDataType, Object instanceValue) {
		return convertAuthTypeToString(SiteConfPackage.Literals.AUTH_TYPE, instanceValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public CertType createCertTypeObjectFromString(EDataType eDataType, String initialValue) {
		return createCertTypeFromString(SiteConfPackage.Literals.CERT_TYPE, initialValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertCertTypeObjectToString(EDataType eDataType, Object instanceValue) {
		return convertCertTypeToString(SiteConfPackage.Literals.CERT_TYPE, instanceValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public DirectRequestType createDirectRequestTypeObjectFromString(EDataType eDataType, String initialValue) {
		return createDirectRequestTypeFromString(SiteConfPackage.Literals.DIRECT_REQUEST_TYPE, initialValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertDirectRequestTypeObjectToString(EDataType eDataType, Object instanceValue) {
		return convertDirectRequestTypeToString(SiteConfPackage.Literals.DIRECT_REQUEST_TYPE, instanceValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EditType createEditTypeObjectFromString(EDataType eDataType, String initialValue) {
		return createEditTypeFromString(SiteConfPackage.Literals.EDIT_TYPE, initialValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertEditTypeObjectToString(EDataType eDataType, Object instanceValue) {
		return convertEditTypeToString(SiteConfPackage.Literals.EDIT_TYPE, instanceValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ExternalViewType createExternalViewTypeObjectFromString(EDataType eDataType, String initialValue) {
		return createExternalViewTypeFromString(SiteConfPackage.Literals.EXTERNAL_VIEW_TYPE, initialValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertExternalViewTypeObjectToString(EDataType eDataType, Object instanceValue) {
		return convertExternalViewTypeToString(SiteConfPackage.Literals.EXTERNAL_VIEW_TYPE, instanceValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public GlobalTransactionType createGlobalTransactionTypeObjectFromString(EDataType eDataType, String initialValue) {
		return createGlobalTransactionTypeFromString(SiteConfPackage.Literals.GLOBAL_TRANSACTION_TYPE, initialValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertGlobalTransactionTypeObjectToString(EDataType eDataType, Object instanceValue) {
		return convertGlobalTransactionTypeToString(SiteConfPackage.Literals.GLOBAL_TRANSACTION_TYPE, instanceValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public HttpsType createHttpsTypeObjectFromString(EDataType eDataType, String initialValue) {
		return createHttpsTypeFromString(SiteConfPackage.Literals.HTTPS_TYPE, initialValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertHttpsTypeObjectToString(EDataType eDataType, Object instanceValue) {
		return convertHttpsTypeToString(SiteConfPackage.Literals.HTTPS_TYPE, instanceValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public NoCacheType createNoCacheTypeObjectFromString(EDataType eDataType, String initialValue) {
		return createNoCacheTypeFromString(SiteConfPackage.Literals.NO_CACHE_TYPE, initialValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertNoCacheTypeObjectToString(EDataType eDataType, Object instanceValue) {
		return convertNoCacheTypeToString(SiteConfPackage.Literals.NO_CACHE_TYPE, instanceValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public SaveCurrentViewType createSaveCurrentViewTypeObjectFromString(EDataType eDataType, String initialValue) {
		return createSaveCurrentViewTypeFromString(SiteConfPackage.Literals.SAVE_CURRENT_VIEW_TYPE, initialValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertSaveCurrentViewTypeObjectToString(EDataType eDataType, Object instanceValue) {
		return convertSaveCurrentViewTypeToString(SiteConfPackage.Literals.SAVE_CURRENT_VIEW_TYPE, instanceValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public SaveHomeViewType createSaveHomeViewTypeObjectFromString(EDataType eDataType, String initialValue) {
		return createSaveHomeViewTypeFromString(SiteConfPackage.Literals.SAVE_HOME_VIEW_TYPE, initialValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertSaveHomeViewTypeObjectToString(EDataType eDataType, Object instanceValue) {
		return convertSaveHomeViewTypeToString(SiteConfPackage.Literals.SAVE_HOME_VIEW_TYPE, instanceValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public SaveLastViewType createSaveLastViewTypeObjectFromString(EDataType eDataType, String initialValue) {
		return createSaveLastViewTypeFromString(SiteConfPackage.Literals.SAVE_LAST_VIEW_TYPE, initialValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertSaveLastViewTypeObjectToString(EDataType eDataType, Object instanceValue) {
		return convertSaveLastViewTypeToString(SiteConfPackage.Literals.SAVE_LAST_VIEW_TYPE, instanceValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public TrackServerhitType createTrackServerhitTypeObjectFromString(EDataType eDataType, String initialValue) {
		return createTrackServerhitTypeFromString(SiteConfPackage.Literals.TRACK_SERVERHIT_TYPE, initialValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertTrackServerhitTypeObjectToString(EDataType eDataType, Object instanceValue) {
		return convertTrackServerhitTypeToString(SiteConfPackage.Literals.TRACK_SERVERHIT_TYPE, instanceValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public TrackVisitType createTrackVisitTypeObjectFromString(EDataType eDataType, String initialValue) {
		return createTrackVisitTypeFromString(SiteConfPackage.Literals.TRACK_VISIT_TYPE, initialValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertTrackVisitTypeObjectToString(EDataType eDataType, Object instanceValue) {
		return convertTrackVisitTypeToString(SiteConfPackage.Literals.TRACK_VISIT_TYPE, instanceValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public TypeType createTypeTypeObjectFromString(EDataType eDataType, String initialValue) {
		return createTypeTypeFromString(SiteConfPackage.Literals.TYPE_TYPE, initialValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertTypeTypeObjectToString(EDataType eDataType, Object instanceValue) {
		return convertTypeTypeToString(SiteConfPackage.Literals.TYPE_TYPE, instanceValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public TypeType1 createTypeTypeObject1FromString(EDataType eDataType, String initialValue) {
		return createTypeType1FromString(SiteConfPackage.Literals.TYPE_TYPE1, initialValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertTypeTypeObject1ToString(EDataType eDataType, Object instanceValue) {
		return convertTypeType1ToString(SiteConfPackage.Literals.TYPE_TYPE1, instanceValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public SiteConfPackage getSiteConfPackage() {
		return (SiteConfPackage)getEPackage();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @deprecated
	 * @generated
	 */
	@Deprecated
	public static SiteConfPackage getPackage() {
		return SiteConfPackage.eINSTANCE;
	}

} //SiteConfFactoryImpl
